package cc.rssoft.rcc.sdk.command.response.bean;

import java.util.Date;

public class ViewRAgentReport {

	/**
	 * 数据库中的主键id
	 */
	private Long id = -1L;

	/**
	 * 用于在前端表格中显示“序号”
	 */
	private Long number = -1L;

	private Date datetime = null;
	private String datetimeStr = "";

	private String agentAid = "";
	private String agentName = "";
	private String showAgentName = "";

	/**
	 * 该字段仅用来判断前端传过来的查询类型是 按小时 还是 按天等
	 */
	private String reportDuration = "";

	/**
	 * 报表排序类型：如，按分机排序，按通时排序等
	 */
	private String orderByType = "";
	
	private String stamp = "";
	private String start_stamp = "";
	private String end_stamp = "";
	
	private Boolean showAllData = null;
	
	//--------------------------------------------------用于柱子层叠后求最大值---------------------------------------------------
	/**
	 * 呼入总次数 ： callinTotalCount = callinBridgedCount + callinUnBridgedCount
	 */
	private long callinTotalCount = 0;
	
	/**
	 * 呼出总次数 ： calloutTotalCount = calloutBridgedCount + calloutUnBridgedCount
	 */
	private long calloutTotalCount = 0;
	
	/**
	 * 呼入总时长 ： callinTotalTime = callinBridgedSecondsSum + callinUnBridgedSecondsSum
	 */
	private long callinTotalTime = 0;
	
	/**
	 * 呼出总时长 ： calloutTotalTime = calloutBridgedSecondsSum + calloutUnBridgedSecondsSum
	 */
	private long calloutTotalTime = 0;
	
	//--------------------------------------------------用于order by的类型---------------------------------------------------
	/**
	 * 呼通总次数 ： callBridgedTotalCount = callinBridgedCount（呼入接通次数） + calloutBridgedCount（呼出接通次数）
	 */
	private Integer callBridgedTotalCount = 0;
	
	/**
	 * 未呼通总次数 ： callUnBridgedTotalCount = callinUnBridgedCount（呼入未接通次数） + calloutUnBridgedCount（呼出未接通次数）
	 */
	private Integer callUnBridgedTotalCount = 0;
	
	/**
	 * 呼通总时长 ： callBridgeBillTotalSeconds = callinBridgedSecondsSum（呼入接通总时长） + calloutBridgedSecondsSum（呼出接通总时长）
	 */
	private Integer callBridgeBillTotalSeconds = 0;
	
	/**
	 * 未呼通总时长 ： callUnBridgeTotalDuraion = callinUnBridgedSecondsSum（呼入未接通总时长） + calloutUnBridgedSecondsSum（呼出未接通总时长）
	 */
	private Integer callUnBridgeTotalDuraion = 0;
	
	/**
	 * 呼通平均时长 ： callBridgeBillSecondsAvg = callBridgeBillTotalSeconds（呼通总时长） / callBridgedTotalCount（呼通总次数）
	 */
	private Integer callBridgeBillSecondsAvg = 0;
	
	/**
	 * 未呼通平均时长 ： callUnBridgeDuraionAvg = callUnBridgeTotalDuraion（未呼通总时长 ） / callUnBridgedTotalCount（未呼通总次数）
	 */
	private Integer callUnBridgeDuraionAvg = 0;
	
	//--------------------------------------------------将时长（单位：秒）相关的字段全部格式化为几时几分几秒：HH:mm:ss---------------------------------------------------
	/**
	 * 呼入接通总时长
	 */
	private String callinBridgedSecondsSumStr = "";
	
	/**
	 * 呼入未接通总时长
	 */
	private String callinUnBridgedSecondsSumStr = "";
	
	/**
	 * 呼出接通总时长
	 */
	private String calloutBridgedSecondsSumStr = "";
	
	/**
	 * 呼出未接通总时长
	 */
	private String calloutUnBridgedSecondsSumStr = "";
	
	/**
	 * 呼入接通平均时长
	 */
	private String callinBridgedSecondsAvgStr = "";

	/**
	 * 呼入未接通平均时长
	 */
	private String callinUnBridgedSecondsAvgStr = "";

	/**
	 * 呼出接通平均时长
	 */
	private String calloutBridgedSecondsAvgStr = "";

	/**
	 * 呼出未接通平均时长
	 */
	private String calloutUnBridgedSecondsAvgStr = "";
	
	//--------------------------------------------------基本属性---------------------------------------------------

	/**
	 * 呼入接通次数
	 */
	private Integer callinBridgedCount = 0;

	/**
	 * 呼入未接通次数
	 */
	private Integer callinUnBridgedCount = 0;

	/**
	 * 呼出接通次数
	 */
	private Integer calloutBridgedCount = 0;

	/**
	 * 呼出未接通次数
	 */
	private Integer calloutUnBridgedCount = 0;

	/**
	 * 呼入接通总时长
	 */
	private Integer callinBridgedSecondsSum = 0;

	/**
	 * 呼入未接通总时长
	 */
	private Integer callinUnBridgedSecondsSum = 0;

	/**
	 * 呼出接通总时长
	 */
	private Integer calloutBridgedSecondsSum = 0;

	/**
	 * 呼出未接通总时长
	 */
	private Integer calloutUnBridgedSecondsSum = 0;

	/**
	 * 呼入接通平均时长
	 */
	private Integer callinBridgedSecondsAvg = 0;

	/**
	 * 呼入未接通平均时长
	 */
	private Integer callinUnBridgedSecondsAvg = 0;

	/**
	 * 呼出接通平均时长
	 */
	private Integer calloutBridgedSecondsAvg = 0;

	/**
	 * 呼出未接通平均时长
	 */
	private Integer calloutUnBridgedSecondsAvg = 0;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getStart_stamp() {
		return start_stamp;
	}

	public void setStart_stamp(String start_stamp) {
		this.start_stamp = start_stamp;
	}

	public String getEnd_stamp() {
		return end_stamp;
	}

	public void setEnd_stamp(String end_stamp) {
		this.end_stamp = end_stamp;
	}

	public Integer getCallinBridgedCount() {
		return callinBridgedCount;
	}

	public void setCallinBridgedCount(Integer callinBridgedCount) {
		this.callinBridgedCount = callinBridgedCount;
	}

	public Integer getCallinUnBridgedCount() {
		return callinUnBridgedCount;
	}

	public void setCallinUnBridgedCount(Integer callinUnBridgedCount) {
		this.callinUnBridgedCount = callinUnBridgedCount;
	}

	public Integer getCalloutBridgedCount() {
		return calloutBridgedCount;
	}

	public void setCalloutBridgedCount(Integer calloutBridgedCount) {
		this.calloutBridgedCount = calloutBridgedCount;
	}

	public Integer getCalloutUnBridgedCount() {
		return calloutUnBridgedCount;
	}

	public void setCalloutUnBridgedCount(Integer calloutUnBridgedCount) {
		this.calloutUnBridgedCount = calloutUnBridgedCount;
	}

	public Integer getCallinBridgedSecondsSum() {
		return callinBridgedSecondsSum;
	}

	public void setCallinBridgedSecondsSum(Integer callinBridgedSecondsSum) {
		this.callinBridgedSecondsSum = callinBridgedSecondsSum;
	}

	public Integer getCallinUnBridgedSecondsSum() {
		return callinUnBridgedSecondsSum;
	}

	public void setCallinUnBridgedSecondsSum(Integer callinUnBridgedSecondsSum) {
		this.callinUnBridgedSecondsSum = callinUnBridgedSecondsSum;
	}

	public Integer getCalloutBridgedSecondsSum() {
		return calloutBridgedSecondsSum;
	}

	public void setCalloutBridgedSecondsSum(Integer calloutBridgedSecondsSum) {
		this.calloutBridgedSecondsSum = calloutBridgedSecondsSum;
	}

	public Integer getCalloutUnBridgedSecondsSum() {
		return calloutUnBridgedSecondsSum;
	}

	public void setCalloutUnBridgedSecondsSum(Integer calloutUnBridgedSecondsSum) {
		this.calloutUnBridgedSecondsSum = calloutUnBridgedSecondsSum;
	}

	public Integer getCallinBridgedSecondsAvg() {
		return callinBridgedSecondsAvg;
	}

	public void setCallinBridgedSecondsAvg(Integer callinBridgedSecondsAvg) {
		this.callinBridgedSecondsAvg = callinBridgedSecondsAvg;
	}

	public Integer getCallinUnBridgedSecondsAvg() {
		return callinUnBridgedSecondsAvg;
	}

	public void setCallinUnBridgedSecondsAvg(Integer callinUnBridgedSecondsAvg) {
		this.callinUnBridgedSecondsAvg = callinUnBridgedSecondsAvg;
	}

	public Integer getCalloutBridgedSecondsAvg() {
		return calloutBridgedSecondsAvg;
	}

	public void setCalloutBridgedSecondsAvg(Integer calloutBridgedSecondsAvg) {
		this.calloutBridgedSecondsAvg = calloutBridgedSecondsAvg;
	}

	public Integer getCalloutUnBridgedSecondsAvg() {
		return calloutUnBridgedSecondsAvg;
	}

	public void setCalloutUnBridgedSecondsAvg(Integer calloutUnBridgedSecondsAvg) {
		this.calloutUnBridgedSecondsAvg = calloutUnBridgedSecondsAvg;
	}

	public Date getDatetime() {
		return datetime;
	}

	public void setDatetime(Date datetime) {
		this.datetime = datetime;
	}

	public String getDatetimeStr() {
		return datetimeStr;
	}

	public void setDatetimeStr(String datetimeStr) {
		this.datetimeStr = datetimeStr;
	}

	public Long getNumber() {
		return number;
	}

	public void setNumber(Long number) {
		this.number = number;
	}

	public String getReportDuration() {
		return reportDuration;
	}

	public void setReportDuration(String reportDuration) {
		this.reportDuration = reportDuration;
	}

	public String getAgentAid() {
		return agentAid;
	}

	public void setAgentAid(String agentAid) {
		this.agentAid = agentAid;
	}

	public String getAgentName() {
		return agentName;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	public String getShowAgentName() {
		return showAgentName;
	}

	public void setShowAgentName(String showAgentName) {
		this.showAgentName = showAgentName;
	}

	public String getOrderByType() {
		return orderByType;
	}

	public void setOrderByType(String orderByType) {
		this.orderByType = orderByType;
	}

	public String getStamp() {
		return stamp;
	}

	public void setStamp(String stamp) {
		this.stamp = stamp;
	}

	public void setCallinTotalCount(Integer callinTotalCount) {
		this.callinTotalCount = callinTotalCount;
	}

	public void setCalloutTotalCount(Integer calloutTotalCount) {
		this.calloutTotalCount = calloutTotalCount;
	}

	public Integer getCallBridgedTotalCount() {
		return callBridgedTotalCount;
	}

	public void setCallBridgedTotalCount(Integer callBridgedTotalCount) {
		this.callBridgedTotalCount = callBridgedTotalCount;
	}

	public Integer getCallUnBridgedTotalCount() {
		return callUnBridgedTotalCount;
	}

	public void setCallUnBridgedTotalCount(Integer callUnBridgedTotalCount) {
		this.callUnBridgedTotalCount = callUnBridgedTotalCount;
	}

	public Integer getCallBridgeBillTotalSeconds() {
		return callBridgeBillTotalSeconds;
	}

	public void setCallBridgeBillTotalSeconds(Integer callBridgeBillTotalSeconds) {
		this.callBridgeBillTotalSeconds = callBridgeBillTotalSeconds;
	}

	public Integer getCallUnBridgeTotalDuraion() {
		return callUnBridgeTotalDuraion;
	}

	public void setCallUnBridgeTotalDuraion(Integer callUnBridgeTotalDuraion) {
		this.callUnBridgeTotalDuraion = callUnBridgeTotalDuraion;
	}

	public Integer getCallBridgeBillSecondsAvg() {
		return callBridgeBillSecondsAvg;
	}

	public void setCallBridgeBillSecondsAvg(Integer callBridgeBillSecondsAvg) {
		this.callBridgeBillSecondsAvg = callBridgeBillSecondsAvg;
	}

	public Integer getCallUnBridgeDuraionAvg() {
		return callUnBridgeDuraionAvg;
	}

	public void setCallUnBridgeDuraionAvg(Integer callUnBridgeDuraionAvg) {
		this.callUnBridgeDuraionAvg = callUnBridgeDuraionAvg;
	}

	public long getCallinTotalCount() {
		return callinTotalCount;
	}

	public void setCallinTotalCount(long callinTotalCount) {
		this.callinTotalCount = callinTotalCount;
	}

	public long getCalloutTotalCount() {
		return calloutTotalCount;
	}

	public void setCalloutTotalCount(long calloutTotalCount) {
		this.calloutTotalCount = calloutTotalCount;
	}

	public long getCallinTotalTime() {
		return callinTotalTime;
	}

	public void setCallinTotalTime(long callinTotalTime) {
		this.callinTotalTime = callinTotalTime;
	}

	public long getCalloutTotalTime() {
		return calloutTotalTime;
	}

	public void setCalloutTotalTime(long calloutTotalTime) {
		this.calloutTotalTime = calloutTotalTime;
	}

	public String getCallinBridgedSecondsSumStr() {
		return callinBridgedSecondsSumStr;
	}

	public void setCallinBridgedSecondsSumStr(String callinBridgedSecondsSumStr) {
		this.callinBridgedSecondsSumStr = callinBridgedSecondsSumStr;
	}

	public String getCallinUnBridgedSecondsSumStr() {
		return callinUnBridgedSecondsSumStr;
	}

	public void setCallinUnBridgedSecondsSumStr(String callinUnBridgedSecondsSumStr) {
		this.callinUnBridgedSecondsSumStr = callinUnBridgedSecondsSumStr;
	}

	public String getCalloutBridgedSecondsSumStr() {
		return calloutBridgedSecondsSumStr;
	}

	public void setCalloutBridgedSecondsSumStr(String calloutBridgedSecondsSumStr) {
		this.calloutBridgedSecondsSumStr = calloutBridgedSecondsSumStr;
	}

	public String getCalloutUnBridgedSecondsSumStr() {
		return calloutUnBridgedSecondsSumStr;
	}

	public void setCalloutUnBridgedSecondsSumStr(String calloutUnBridgedSecondsSumStr) {
		this.calloutUnBridgedSecondsSumStr = calloutUnBridgedSecondsSumStr;
	}

	public String getCallinBridgedSecondsAvgStr() {
		return callinBridgedSecondsAvgStr;
	}

	public void setCallinBridgedSecondsAvgStr(String callinBridgedSecondsAvgStr) {
		this.callinBridgedSecondsAvgStr = callinBridgedSecondsAvgStr;
	}

	public String getCallinUnBridgedSecondsAvgStr() {
		return callinUnBridgedSecondsAvgStr;
	}

	public void setCallinUnBridgedSecondsAvgStr(String callinUnBridgedSecondsAvgStr) {
		this.callinUnBridgedSecondsAvgStr = callinUnBridgedSecondsAvgStr;
	}

	public String getCalloutBridgedSecondsAvgStr() {
		return calloutBridgedSecondsAvgStr;
	}

	public void setCalloutBridgedSecondsAvgStr(String calloutBridgedSecondsAvgStr) {
		this.calloutBridgedSecondsAvgStr = calloutBridgedSecondsAvgStr;
	}

	public String getCalloutUnBridgedSecondsAvgStr() {
		return calloutUnBridgedSecondsAvgStr;
	}

	public void setCalloutUnBridgedSecondsAvgStr(String calloutUnBridgedSecondsAvgStr) {
		this.calloutUnBridgedSecondsAvgStr = calloutUnBridgedSecondsAvgStr;
	}

	public Boolean getShowAllData() {
		return showAllData;
	}

	public void setShowAllData(Boolean showAllData) {
		this.showAllData = showAllData;
	}

}
